﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccPeriod.aspx.cs" Inherits="GRLMS.CaiWu.Base.AccPeriod" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
     <link href="../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
     <link href="../../themes/gray/skin.css" rel="stylesheet" type="text/css" />
    <script src="../../lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>   
    <script src="../../lib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerButton.js" type="text/javascript"></script>
    
</head>
<body>
    <form id="form1" runat="server">
    
    <div style="padding:6px;">
    启用会计期间：
   <select id="sel_Years" onchange="ChangeYears()">
       <% 
       for (int j = DateTime.Now.Year - 15; j <= DateTime.Now.Year+10; j++)
     { %>
    <option value="<%=j %>"><%=j %></option>
    <%} %>
   </select>
    年 &nbsp;&nbsp;
    <select id="sel_Period">
     <%for (int i = 1; i <= 12; i++)
       { %>
      <option value="<%=i %>"><%=i%></option>
      <%} %>
    </select>
    期

<br />
<br />
<table border="0" width="500" class="table-list"  id="tb">
<tr>
  <th width="100">启用年度</th>
  <th  width="50">期间</th>
  <th width="350">开始日期</th>
</tr>
<%for (int k = 1; k <= 12; k++)
  { %>
<tr>
  <td><%=DateTime.Now.Year%></td>
  <td><%=k %></td>
  <td><input type="text" id="txtPeriod<%=k %>" onchange="changePeriod('<%=k %>')" value="<%=DateTime.Now.Year%>-<%=k %>-1" /></td>
</tr>
<%} %>
</table>

  <br />
  <br />
  <input type="button" class="gr-button" value="启用" style="width:65px;height:24px" />
    </div>
    </form>
</body>
</html>
